Skip to content

Debounce details screen navigation to prevent crash - #515

Open
xhon-pelushi wants to merge 1 commit into
GrapheneOS:mainfrom
xhon-pelushi:fix/details-nav-debounce-436
Open

Debounce details screen navigation to prevent crash#515
xhon-pelushi wants to merge 1 commit into
GrapheneOS:mainfrom
xhon-pelushi:fix/details-nav-debounce-436

Conversation

@xhon-pelushi

@xhon-pelushi xhon-pelushi commented Aug 14, 2026

Copy link
Copy Markdown

Summary

Test plan

  • See worklog in contributor notes; tested locally where feasible.

Rapidly tapping a package list item (e.g. a dependency shown on the
details screen itself) queued fragment transactions faster than their
postponed enter transitions could finish, leaving FragmentManager in
an inconsistent state and crashing with:

  IllegalStateException: Fragment DetailsScreen{...} did not return a
  View from onCreateView() or this was called before onCreateView().

Ignore repeated navigation to the details screen within 500ms of the
previous one so only one transition is ever in flight.

Fixes GrapheneOS#436
@xhon-pelushi xhon-pelushi changed the title ## grapheneos-appstore — GrapheneOS/AppStore #436 Debounce details screen navigation to prevent crash Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant